package com.bocloud.dto;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/3/21.
 */
public class ApiDto implements Serializable {
    private static final long serialVersionUID = 1711959845093159352L;


    private String id;

    private String name;

    private String upstream_url;

    private Integer retries = 5;

    private Integer upstream_connect_timeout = 60000;

    private  Integer upstream_send_timeout = 60000;

    private Integer upstream_read_timeout = 60000;

    private String moduleName;

    private String projectName;

    private String interfaceName;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUpstream_url() {
        return upstream_url;
    }

    public void setUpstream_url(String upstream_url) {
        this.upstream_url = upstream_url;
    }

    public Integer getRetries() {
        return retries;
    }

    public void setRetries(Integer retries) {
        this.retries = retries;
    }

    public Integer getUpstream_connect_timeout() {
        return upstream_connect_timeout;
    }

    public void setUpstream_connect_timeout(Integer upstream_connect_timeout) {
        this.upstream_connect_timeout = upstream_connect_timeout;
    }

    public Integer getUpstream_send_timeout() {
        return upstream_send_timeout;
    }

    public void setUpstream_send_timeout(Integer upstream_send_timeout) {
        this.upstream_send_timeout = upstream_send_timeout;
    }

    public Integer getUpstream_read_timeout() {
        return upstream_read_timeout;
    }

    public void setUpstream_read_timeout(Integer upstream_read_timeout) {
        this.upstream_read_timeout = upstream_read_timeout;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getInterfaceName() {
        return interfaceName;
    }

    public void setInterfaceName(String interfaceName) {
        this.interfaceName = interfaceName;
    }
}
